<!--Copyright (C) Kherty.  All rights reserved.-->
<ResourceDictionary 
    x:Class="OpenLS.Chart.UI.AreaSeriesPropertiesResources" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:drawing="http://schemas.Kherty.com/office/2007/drawing"
    xmlns:chartui="clr-namespace:OpenLS.Chart.UI"
    xmlns:chart="http://schemas.Kherty.com/office/2007/chart"
    xmlns:Internals="clr-namespace:OpenLS.Chart.UI.Internals">
    <ResourceDictionary.MergedDictionaries>
        <drawing:ColorResources/>
        <drawing:FillResources/>
        <drawing:LineResources/>
        <chartui:View3DResources/>
    </ResourceDictionary.MergedDictionaries>
    <BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
    <DataTemplate DataType="{x:Type chart:AreaSeries}">
        <TabControl TabStripPlacement ="Left" chartui:ChartElement.ViewModel="{Binding Converter={x:Static Internals:ChartConverters.ViewModelFactory}}">
            <TabItem Header="{x:Static Internals:UIStringTable.Fill}">
                <ContentControl Content="{Binding Path=(chartui:ChartElement.ViewModel).FillFormatter, RelativeSource={RelativeSource Self}}" />
            </TabItem>
            <TabItem Header="{x:Static Internals:UIStringTable.LineColor}">
                    <GroupBox>
                    <ContentControl Content="{Binding Path=(chartui:ChartElement.ViewModel).LineFillFormatter, RelativeSource={RelativeSource Self}}" />
                </GroupBox>
            </TabItem>
            <TabItem Header="{x:Static Internals:UIStringTable.LineStyle}">
                <GroupBox>
                    <ContentControl Content="{Binding Path=(chartui:ChartElement.ViewModel).LineStyleFormatter, RelativeSource={RelativeSource Self}}" />
                </GroupBox>
            </TabItem>
            <TabItem Header="{x:Static Internals:UIStringTable.Shadow}"/>
            <TabItem Header="{x:Static Internals:UIStringTable.Format3D}">
                <ContentControl Content="{Binding Path=(chartui:ChartElement.ChartArea).View3D, RelativeSource={RelativeSource Self}}"/>
            </TabItem>
        </TabControl>

    </DataTemplate >


</ResourceDictionary>